package cn.lwj.webService.entity;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "T_XF_SHXX" )
public class TXfShxx {
	private String cId;
	private String cJzbId;
	private Date dtSqsj;
	private String cSqfybm;
	private String cSqfymc;
	private String cSqbmbm;
	private String cSqbmmc;
	private String cSqrbm;
	private String cSqrmc;
	private String cShfybm;
	private String cShfymc;
	private String cShbmbm;
	private String cShbmmc;
	private String cShrbm;
	private String cShrmc;
	private Integer nShbz;
	private String cShyj;
	private Date dtShsj;
	private Date dCbqx;
	private Integer nZsyjbz;
	private Date dtTimestamp;
	private Integer nTbbz;//同步标志, 1:申请已拉取  2:反馈已拉取(反馈并且同步到基层后才能再次申请延期)

	public final static Map<String,Class> aliasInfo = new HashMap() {{
        put("shxx", TXfShxx.class);
	}};

	@Id
	@Column(name = "C_ID", unique = true, nullable = false, length = 50)
	public String getcId() {
		return cId;
	}

	public void setcId(String cId) {
		this.cId = cId;
	}

	@Column(name = "C_JZB_ID")
	public String getcJzbId() {
		return cJzbId;
	}

	public void setcJzbId(String cJzbId) {
		this.cJzbId = cJzbId;
	}

	@Column(name = "DT_SQSJ")
	public Date getDtSqsj() {
		return dtSqsj;
	}

	public void setDtSqsj(Date dtSqsj) {
		this.dtSqsj = dtSqsj;
	}

	@Column(name = "C_SQFYBM")
	public String getcSqfybm() {
		return cSqfybm;
	}

	public void setcSqfybm(String cSqfybm) {
		this.cSqfybm = cSqfybm;
	}

	@Column(name = "C_SQFYMC")
	public String getcSqfymc() {
		return cSqfymc;
	}

	public void setcSqfymc(String cSqfymc) {
		this.cSqfymc = cSqfymc;
	}

	@Column(name = "C_SQBMBM")
	public String getcSqbmbm() {
		return cSqbmbm;
	}

	public void setcSqbmbm(String cSqbmbm) {
		this.cSqbmbm = cSqbmbm;
	}

	@Column(name = "C_SQBMMC")
	public String getcSqbmmc() {
		return cSqbmmc;
	}

	public void setcSqbmmc(String cSqbmmc) {
		this.cSqbmmc = cSqbmmc;
	}

	@Column(name = "C_SQRBM")
	public String getcSqrbm() {
		return cSqrbm;
	}

	public void setcSqrbm(String cSqrbm) {
		this.cSqrbm = cSqrbm;
	}

	@Column(name = "C_SQRMC")
	public String getcSqrmc() {
		return cSqrmc;
	}

	public void setcSqrmc(String cSqrmc) {
		this.cSqrmc = cSqrmc;
	}

	@Column(name = "C_SHFYBM")
	public String getcShfybm() {
		return cShfybm;
	}

	public void setcShfybm(String cShfybm) {
		this.cShfybm = cShfybm;
	}

	@Column(name = "C_SHFYMC")
	public String getcShfymc() {
		return cShfymc;
	}

	public void setcShfymc(String cShfymc) {
		this.cShfymc = cShfymc;
	}

	@Column(name = "C_SHBMBM")
	public String getcShbmbm() {
		return cShbmbm;
	}

	public void setcShbmbm(String cShbmbm) {
		this.cShbmbm = cShbmbm;
	}

	@Column(name = "C_SHBMMC")
	public String getcShbmmc() {
		return cShbmmc;
	}

	public void setcShbmmc(String cShbmmc) {
		this.cShbmmc = cShbmmc;
	}

	@Column(name = "C_SHRBM")
	public String getcShrbm() {
		return cShrbm;
	}

	public void setcShrbm(String cShrbm) {
		this.cShrbm = cShrbm;
	}

	@Column(name = "C_SHRMC")
	public String getcShrmc() {
		return cShrmc;
	}

	public void setcShrmc(String cShrmc) {
		this.cShrmc = cShrmc;
	}

	//@Column(name = "N_SHBZ")
	@Column(name = "N_SPBZ")
	public Integer getnShbz() {
		return nShbz;
	}

	public void setnShbz(Integer nShbz) {
		this.nShbz = nShbz;
	}

	@Column(name = "C_SHYJ")
	public String getcShyj() {
		return cShyj;
	}

	public void setcShyj(String cShyj) {
		this.cShyj = cShyj;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "DT_SHSJ")
	public Date getDtShsj() {
		return dtShsj;
	}

	public void setDtShsj(Date dtShsj) {
		this.dtShsj = dtShsj;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "D_CBQX")
	public Date getdCbqx() {
		return dCbqx;
	}

	public void setdCbqx(Date dCbqx) {
		this.dCbqx = dCbqx;
	}

	@Column(name = "N_ZSYJBZ")
	public Integer getnZsyjbz() {
		return nZsyjbz;
	}

	public void setnZsyjbz(Integer nZsyjbz) {
		this.nZsyjbz = nZsyjbz;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name= "DT_TIMESTAMP")
	public Date getDtTimestamp() {
		return dtTimestamp;
	}

	public void setDtTimestamp(Date dtTimestamp) {
		this.dtTimestamp = dtTimestamp;
	}

	@Column(name= "N_TBBZ")
	public Integer getnTbbz() {
		return nTbbz;
	}

	public void setnTbbz(Integer nTbbz) {
		this.nTbbz = nTbbz;
	}
}
